<%@ page language="java"
         contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"
         import="com.shxt.hotel.background.Room"
%>
<%
    request.setCharacterEncoding("UTF-8");
    int cid = Integer.parseInt(request.getParameter("cid"));
    
    Room roomManager = new Room();
    String objJSON = roomManager.getCategoryJSON(cid);
    
    roomManager.close();
    
    response.getWriter().write(objJSON);
%>